package com.wantup.miaosha.service;

import com.wantup.miaosha.entity.TblUser;
import com.wantup.miaosha.entity.TblUser2;
import com.wantup.miaosha.pojo.UserPojo;

public interface UserService {

    TblUser getUserInofByIdService(Integer id)throws Exception;

    int userRegisterService(TblUser2 tblUser)throws Exception;

    TblUser userLoginService(UserPojo userPojo)throws Exception;

    TblUser getByUserId(String name);

    TblUser getUserByTokenService(String token) throws Exception;
}
